package com.java.service;

import com.java.bean.Car;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CarService {
    public int addCar(Car car);

    public int deleteCar(Integer id);

    public int updateCar(Car car);

    public Car selectCarByid(Integer id);

    public List<Car> selectAll();

    Car authenticate(String adminname, String password);
}
